<?php
/**
 * This is the default loop template. Just show the list of posts.
 */
global $notcat;
?>

<?php if ( have_posts() ) : ?>


        <?php /* Start the Loop */ ?>
        <?php while ( have_posts() ) : the_post(); ?>

                <?php $notcat->get_content(); ?>

        <?php endwhile; ?>

        <?php $notcat->misc('nav'); ?>

<?php else : ?>

        <article id="post-0" class="post no-results not-found">
                <header class="entry-header">
                        <h1 class="entry-title"><?php _e( 'Nothing Found', 'notcat' ); ?></h1>
                </header><!-- .entry-header -->

                <div class="entry-content">
                        <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'notcat' ); ?></p>
                        <?php get_search_form(); ?>
                </div><!-- .entry-content -->
        </article><!-- #post-0 -->

<?php endif; ?>
